package com.cloud.api.domain.job;

import com.cloud.api.myenum.AuthorizationStatusEnum;
import com.cloud.api.myenum.StationType;
import com.cloud.mybatis.domain.PageModelNew;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

@Data
@Schema(description = "查询服务站")
public class QueryService extends PageModelNew implements Serializable {

    @Schema(description = "服务站点名称")
    private String name;

    @Schema(description = "省份")
    private String province;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "区县")
    private String district;

    @Schema(description = "类型")
    private StationType category;

    @Schema(description = "销售公司")
    private String salesCompany;

    @Schema(description = "状态")
    @Max(value = 1)
    @Min(value = 0)
    private Integer status;

    @Schema(description = "授权状态")
    private AuthorizationStatusEnum authorizationStatus;

    @Schema(description = "授权截止日期")
    private LocalDate authorizationEnd;
}
